home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000052_mackay@cs.washington.edu_Wed Oct 13 07:31:03 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from june.cs.washington.edu by cs.umb.edu with SMTP id AA01583
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 13 Oct 1993 17:30:56 -0400
  3. Received: by june.cs.washington.edu (5.65b/7.1ju)
  4.     id AA29077; Wed, 13 Oct 93 14:31:03 -0700
  5. Date: Wed, 13 Oct 93 14:31:03 -0700
  6. From: mackay@cs.washington.edu (Pierre MacKay)
  7. Return-Path: <mackay@cs.washington.edu>
  8. Message-Id: <9310132131.AA29077@june.cs.washington.edu>
  9. To: fj@iesd.auc.dk
  10. Cc: tim@maths.tcd.ie, tex-k@cs.umb.edu
  11. In-Reply-To: Frank Jensen's message of Tue, 12 Oct 1993 16:48:04 +0100 <199310121548.AA18012@loke.iesd.auc.dk>
  12. Subject: Re: Speed of (recursive) search in the Kpathsearch library
  13.  
  14. There has been a lot of concern with the delay involved in
  15. searching for directories across a widely branching tree
  16. in kpathsearch.  Karl has been looking at this for some time,
  17. and I gather is still working on it.  A temporary fix, which
  18. will serve untill a more systematic solution appears is:
  19.  
  20. make up a directory called something like 00TFM.  I root
  21. my font search path in /fonts, and the next level in the tree
  22. is 
  23.       |--00TFM
  24.       |--00VF
  25.       |--00XDVIPK
  26. fonts-|--adobe
  27.       |--ams
  28.       |--bitstream
  29.       etc.
  30.  
  31. Then link all tfms scattered throughout the foundry directories
  32. into 00TFM and likewise with VFs and display PKs.  
  33.  
  34. The various paths can then be set up as
  35.  
  36. TEXFONTS=.:/fonts/00TFM:/fonts//
  37.  
  38. and so on.
  39.  
  40. You thus have a good shot at getting a hit in the flat 00TFM
  41. directory before the exploration of the /fonts// tree begins
  42.  
  43. It isn't elegant but it works, and it solves the immediate problem,
  44. while still retaining the ability of kpathsearch to pick up
  45. anything that is added in a "foundry" branch of the tree.
  46.  
  47. I have done this while sitting beside one of those HP disks with
  48. the head mechanism that sounds like a bucket of old bolts.  
  49. You can really tell by the sound whether there is a lot of
  50. waste head motion (searching down separate directory trees)
  51. or just a quick pass through the directory with all the
  52. file names in it, which involves very little head motion.
  53.  
  54. It goes without saying that great care is taken to
  55. have ordinary files only in terminal leaves of the tree.
  56.  
  57. (My /fonts tree has over 200 directories in it)
  58.  
  59. Email concerned with UnixTeX distribution software should be sent primarily
  60. to:    elisabet@u.washington.edu            Elizabeth Tachikawa
  61. otherwise to:  mackay@cs.washington.edu        Pierre A. MacKay
  62. Smail:  Northwest Computing Support Center    Resident Druid for
  63.     Thomson Hall, Mail Stop DR-10        Unix-flavored TeX
  64.     University of Washington
  65.     Seattle, WA 98195
  66.     (206) 543-6259